package models.baseinfo

import java.sql.Timestamp
import java.time.LocalDateTime

object BaseInfo {

}

case class KDStockCode(
                        id: Long = 0,
                        kdFStockId: Int = 0,
                        kdFNumber: String = "",
                        kdFName: String = "",
                        kdFTHIRDSTOCKNO: String = "",
                        status: Boolean = false,
                        org:String = "100",
                        upDate: Timestamp = Timestamp.valueOf(LocalDateTime.now())
                      )

case class GYItemCode(
                       id: Long = 0,
                       gyItemId: Long = 0,
                       gyCode: String = "",
                       gyBarcode: String = "",
                       gyName: String = "",
                       status: Boolean = false,
                       kdMaterialId: Int = 0,
                       kdNumber: String = "",
                       kdFName: String = "",
                       kdBarcode: String = "",
                       kdBaseUnit: String = "",
                       kdErpClsId:String="0",
                       gyWeight :Double = 0,
                       gyVolume :Double = 0,
                       kdWeight  :Double = 0,
                       kdWeightUnit :String="kg",
                       kdLength :Double = 0,
                       kdWidth  :Double = 0,
                       kdHeight  :Double = 0,
                       kdVolume  :Double = 0,
                       kdVolumeUnit  :String="cm",
                       upDate: Timestamp = Timestamp.valueOf(LocalDateTime.now())
                     )

case class CustomerCode(
                       id: Long = 0,
                       code: String = "",
                       name: String = "",
                       var kdId: Int = 0,
                       var kdNo: String = "",
                       var kdName:String="",
                       var status: Boolean = false,
                       var org:String = "0",
                       var deptId:String="",
                       var upDate: Timestamp = Timestamp.valueOf(LocalDateTime.now())
                     )
